const AgoraRTC  = require('agora-rtc-sdk-ng');

let rtc = {
    localAudioTrack:null,
    client:null
}
let options = {
    appId:"93d21a279e4f4270906ac78ac18d88c7",
    channel:"test",
    token:"00693d21a279e4f4270906ac78ac18d88c7IACqyFRO19w9i1FA14Q4faXe/6Ytg1nVBZloLPdpLQL9sQx+f9gAAAAAEAC0DMoWcTzFYQEAAQBzPMVh",
}

function startBasicCall(){
    //"rtc"通信场景  "vp8"编码格式
    rtc.client = AgoraRTC.createClient({mode:"rtc",codec:"vp8"});
    document.getElementById("join")
    //加入频道
    rtc.client.join(options.appId,options.channel,options.token)
}